﻿@{
    var types = ViewData["ContentTypes"] as List<CmsContentType> ?? new List<CmsContentType>();
    var selected = (int?) ViewData["ContentTypeId"];
    ResFile = "cms_Common";
}

<ol class="b-form__rows ul-reset g-clear">
        <li class="b-form__row g-clear">
        <label for="ContentTypeId">@_("Linked Content Type")</label>
        @Html.DropDownList("ContentTypeId", new SelectList(types, "Id", "ContentTypeName", selected), _("Please select"))
</li>
</ol>